package com.danco.planner.view.builders;


import com.danco.planner.supportclasses.enumeration.IEventType;
import com.danco.planner.view.consoleextension.ConsoleButton;
import com.danco.planner.view.consoleextension.ConsoleLabel;
import com.danco.planner.view.core.AbstractLabel;

public class ConsoleViewsBuilder extends AbstractViewsBuilder {

	@Override
	public AbstractLabel buildLabel() {
		return new ConsoleLabel();
	}
	@Override
	public AbstractLabel buildLabel(String text) {
		return new ConsoleLabel(text);
	}
	@Override
	public AbstractLabel buildLabel(String text, IEventType type) {
		return new ConsoleLabel(text, type);
	}
	@Override
	public ConsoleButton buildButton() {
		return new ConsoleButton();
	}
	@Override
	public ConsoleButton buildButton(String text) {
		return new ConsoleButton(text);
	}
	@Override
	public ConsoleButton buildButton(String text, String targetCommand) {
		return new ConsoleButton(text,targetCommand);
	}
	@Override
	public ConsoleButton buildButton(String text, String targetCommand, IEventType type) {
		return new ConsoleButton(text, targetCommand, type);
	}
}
